package com.lemner.ke.model.loginreg;

import com.lemner.ke.base.BaseListener;
import com.lemner.ke.base.BaseModel;
import com.lemner.ke.bean.SuccessBean;

/**
 * 获取验证码
 *
 * @author 杨烨
 * @date 2018/9/12
 */

public class GetIdentifyingCodeModel extends BaseModel<SuccessBean> {

    public void getIdentifyingCode(String mobile, String type, final BaseListener<SuccessBean> listener) {
        call = service.getIdentifyingCode(mobile, type);
        callEnqueue(call, listener);
    }
}
